<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("wiztalk:reporttrack:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("wiztalk:reporttrack:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("wiztalk:reporttrack:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">页面路径</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.eventPath" placeholder="页面路径"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">自定义事件名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.eventName" placeholder="自定义事件名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">文件ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.fid" placeholder="文件ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">手机型号</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.model" placeholder="手机型号"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">与手机相关的参数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.mac" placeholder="与手机相关的参数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">与手机相关的参数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.imsi" placeholder="与手机相关的参数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">与手机相关的参数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.imei" placeholder="与手机相关的参数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">设备名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.deviceName" placeholder="设备名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">设备ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.deviceId" placeholder="设备ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">手机系统</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.os" placeholder="手机系统"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">手机品牌</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.vendor" placeholder="手机品牌"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">用户ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.uid" placeholder="用户ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">网络类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.netType" placeholder="网络类型"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">app名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.appName" placeholder="app名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">app版本</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.appVersion" placeholder="app版本"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">上报信息的类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.type" placeholder="上报信息的类型"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">上报时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.time" placeholder="上报时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">模块id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.moduleId" placeholder="模块id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">到达跟踪分析平台的时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="reportTrack.reachTime" placeholder="到达跟踪分析平台的时间"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>


<script src="${request.contextPath}/statics/js/modules/wiztalk/reporttrack.js?_${.now?long}"></script>

</body>
</html>